FROM docker.io/tomcat
MAINTAINER ruiao

ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

ENV JAVA_OPTS "-Djava.security.egd=file:/dev/./urandom"

COPY car-news.war /usr/local/tomcat/webapps

